<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<div id="banner" class="header">
	<div id="banner_center">
        <div class="header_msg">
        	<a href="index.jsp">返回首页</a> |  
        	<s:if test="%{null != #session.LOGINUSER}">
	        	<span class="member">
					<a href="homePage.action" >${session.LOGINUSER.loginName}</a>
				</span>
				<a href="logout.action" class="exit">退出</a>
				<a class="tips" href="listPrivateMessage.action">消息
					<s:if test="%{0 != #session.MessageCount}">
						(<span>${session.MessageCount}</span>)
					</s:if>
				</a>
				| <a href="homePage.action">用户中心</a>
			</s:if>
			<s:else>
				<span class="member">
					<a href='login.jsp'>请登录</a>
					| <a href='register.jsp'>注册</a>
				</span>
			</s:else>
        </div>
	</div>      
</div>